fix(scripts): make BRANDING_DRIFT_PATHSPECS scan files at depth 0 - #10126
Conversation
git pathspecs without :(glob) magic use fnmatch without FNM_PATHNAME, so a single * already matches /. The **/ segments in BRANDING_DRIFT_PATHSPECS were redundant and silently required at least one extra path separator, so files sitting directly inside a scanned root (src/index.ts, every file under packages/discovery-index/src/, packages/loopover-mcp/lib/) were never grepped.
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-31 08:39:00 UTC
Review summary Nits — 7 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Decision record
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #10126 +/- ##
=======================================
Coverage 91.95% 91.95%
=======================================
Files 931 931
Lines 113937 113937
Branches 27505 27505
=======================================
Hits 104774 104774
Misses 7863 7863
Partials 1300 1300
Flags with carried forward coverage won't be shown. Click here to find out more. |
fix(scripts): make BRANDING_DRIFT_PATHSPECS scan files at depth 0
git pathspecs without :(glob) magic use fnmatch without FNM_PATHNAME, so a
single * already matches /. The **/ segments in BRANDING_DRIFT_PATHSPECS were
redundant and silently required at least one extra path separator, so files
sitting directly inside a scanned root (src/index.ts, every file under
packages/discovery-index/src/, packages/loopover-mcp/lib/) were never grepped.
Closes #10045